package com.bjpowernode.day24.homework;

import jdk.swing.interop.SwingInterOpUtils;

/**
 * 是武器，可移动，可攻击
 */
public class Fighter extends Weapon implements Shotable,Moveable {
    @Override
    public void move() {
        System.out.println("战斗机起飞");
    }

    @Override
    public void shot() {
        System.out.println("战斗机开炮");
    }

    @Override
    public String toString() {
        return "战斗机";
    }
}
